package ustc.xiaoyang.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import ustc.xiaoyang.pojo.EmpLog;

@Mapper
public interface EmpLogMapper {
    /**
     * 添加操作日志
     * @param empLog
     */
    @Insert("insert into emp_log (operate_time, info) values (#{operateTime}, #{info})")
    void add(EmpLog empLog);
}
